$(document).ready(function(){
   $("#countryBusiness").change(function(){
      $("#businessPhone1").val($("#countryBusiness option:selected").attr('rel'));
   });

   $("#countryMain").change(function(){
      $("#homePhoneMain1").val($("#countryMain option:selected").attr('rel'));
   });

   $("#accountTypeSelector").change(function(){
      if($("#accountTypeSelector").val() == "business"){
         $("#business_details").show("slow");
      }
      else{
	 $("#business_details").hide("fast");
      }

   });
   /*
   $('form').submit(function(){
		// On submit disable its submit button
		$('input[type=submit]', this).attr('disabled', 'disabled');
		$("body").css("cursor", "progress");
    });*/
});
